<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link href="${pageContext.request.contextPath }/js/kindeditor-4.1.10/themes/default/default.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath }/js/kindeditor-4.1.10/kindeditor-all-min.js"></script>
	<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath }/js/kindeditor-4.1.10/lang/zh_CN.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.8.3.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/ajaxfileupload.js"></script>
	<link id="easyuiTheme" rel="stylesheet" type="text/css"	href="${pageContext.request.contextPath }/js/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/js/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/default.css">
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/easyui/jquery.easyui.min.js"></script>
	<script	src="${pageContext.request.contextPath }/js/easyui/locale/easyui-lang-zh_CN.js"	type="text/javascript"></script>
	<script src="${pageContext.request.contextPath }/js/outOfBounds.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath }/js/common.js" type="text/javascript"></script>
</head>

<body>
<div class="easyui-layout" data-options="fit:true">

	<div data-options="region:'center'" style="padding:5px"><%--admin/member/list 这个链接改过的--%>
		<table class="easyui-datagrid" id="memberList"
			   data-options="singleSelect:false,collapsible:true,pagination:true,url:'${pageContext.request.contextPath }/admin/members/chckelists.do?checkstatus=45',method:'get',pageSize:30,toolbar:tool,fitColumns:true,onLoadSuccess:huixian">
			<thead>
			<tr>
				<th data-options="field:'ck',checkbox:true"></th>
				<th data-options="field:'id',width:70,align:'center'">id</th>
				<th data-options="field:'realname',width:70,align:'center'">姓名</th>
				<th data-options="field:'companyname',width:200,align:'center'">公司名称</th>
				<th data-options="field:'job',width:150,align:'center'">目前职务</th>
				<th data-options="field:'mphone',width:100,align:'center'">电话</th>
				<th data-options="field:'email',width:100,align:'center'">邮箱</th>
				<th data-options="field:'levelclass',width:40,align:'center',formatter:HONGXIN.levelClass">等级</th>
				<th data-options="field:'jointype',width:40,align:'center',formatter:HONGXIN.joinType">入会形式</th>
				<th data-options="field:'joinDate',width:130,align:'center',formatter:HONGXIN.formatDateTime">入会时间</th>
			</tr>
			</thead>
		</table>
	</div>
</div>
</body>
<div id="memberAddWindow" class="easyui-window" title="新增会员" data-options="modal:true,closed:true,iconCls:'icon-save',href:'${pageContext.request.contextPath }/admin/member/member_add.do'" style="width:1000px;height:500px;padding:10px;" />
<div id="memberEditWindow" class="easyui-window" title="编辑会员" data-options="modal:true,closed:true,iconCls:'icon-save',href:'${pageContext.request.contextPath }/admin/member/member_edit.do'" style="width:1000px;height:500px;padding:10px;" />


<script>

	function getSelectionsIds(){
		var memberList = $("#memberList");
		var sels = memberList.datagrid("getSelections");
		var ids = [];
		for(var i in sels){
			ids.push(sels[i].id);
		}
		ids = ids.join(",");
		return ids;
	}



</script>